﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WomanMotion.WebApi.Model.Dtos.Watch
{
    /// <summary>
    /// 新增观看平台DTO
    /// </summary>
    public class CreatedWatchDTO
    {
        /// <summary>
        /// 观看平台名称
        /// </summary>
        [Required(ErrorMessage = "观看平台名称不能为空")]
        [MaxLength(10, ErrorMessage = "观看平台名称不能大于10个字符")]
        [MinLength(2, ErrorMessage = "观看平台名称不能小于2个字符")]
        public string? Name { get; set; }

        /// <summary>
        /// 平台Logo
        /// </summary>
        [Required(ErrorMessage = "观看平台Logo不能为空")]
        public string? Logo { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
